package com.bsb.base.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BsbRapidAnswerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public BsbRapidAnswerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public BsbRapidAnswerExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andRapidIdIsNull() {
            addCriterion("rapidId is null");
            return (Criteria) this;
        }

        public Criteria andRapidIdIsNotNull() {
            addCriterion("rapidId is not null");
            return (Criteria) this;
        }

        public Criteria andRapidIdEqualTo(String value) {
            addCriterion("rapidId =", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdNotEqualTo(String value) {
            addCriterion("rapidId <>", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdGreaterThan(String value) {
            addCriterion("rapidId >", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdGreaterThanOrEqualTo(String value) {
            addCriterion("rapidId >=", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdLessThan(String value) {
            addCriterion("rapidId <", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdLessThanOrEqualTo(String value) {
            addCriterion("rapidId <=", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdLike(String value) {
            addCriterion("rapidId like", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdNotLike(String value) {
            addCriterion("rapidId not like", value, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdIn(List<String> values) {
            addCriterion("rapidId in", values, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdNotIn(List<String> values) {
            addCriterion("rapidId not in", values, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdBetween(String value1, String value2) {
            addCriterion("rapidId between", value1, value2, "rapidId");
            return (Criteria) this;
        }

        public Criteria andRapidIdNotBetween(String value1, String value2) {
            addCriterion("rapidId not between", value1, value2, "rapidId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("userId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("userId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("userId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("userId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("userId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("userId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("userId like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("userId not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("userId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("userId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("userId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("userId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andGrabDateIsNull() {
            addCriterion("grabDate is null");
            return (Criteria) this;
        }

        public Criteria andGrabDateIsNotNull() {
            addCriterion("grabDate is not null");
            return (Criteria) this;
        }

        public Criteria andGrabDateEqualTo(Date value) {
            addCriterion("grabDate =", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateNotEqualTo(Date value) {
            addCriterion("grabDate <>", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateGreaterThan(Date value) {
            addCriterion("grabDate >", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateGreaterThanOrEqualTo(Date value) {
            addCriterion("grabDate >=", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateLessThan(Date value) {
            addCriterion("grabDate <", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateLessThanOrEqualTo(Date value) {
            addCriterion("grabDate <=", value, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateIn(List<Date> values) {
            addCriterion("grabDate in", values, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateNotIn(List<Date> values) {
            addCriterion("grabDate not in", values, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateBetween(Date value1, Date value2) {
            addCriterion("grabDate between", value1, value2, "grabDate");
            return (Criteria) this;
        }

        public Criteria andGrabDateNotBetween(Date value1, Date value2) {
            addCriterion("grabDate not between", value1, value2, "grabDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateIsNull() {
            addCriterion("ansDate is null");
            return (Criteria) this;
        }

        public Criteria andAnsDateIsNotNull() {
            addCriterion("ansDate is not null");
            return (Criteria) this;
        }

        public Criteria andAnsDateEqualTo(Date value) {
            addCriterion("ansDate =", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateNotEqualTo(Date value) {
            addCriterion("ansDate <>", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateGreaterThan(Date value) {
            addCriterion("ansDate >", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ansDate >=", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateLessThan(Date value) {
            addCriterion("ansDate <", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateLessThanOrEqualTo(Date value) {
            addCriterion("ansDate <=", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateIn(List<Date> values) {
            addCriterion("ansDate in", values, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateNotIn(List<Date> values) {
            addCriterion("ansDate not in", values, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateBetween(Date value1, Date value2) {
            addCriterion("ansDate between", value1, value2, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateNotBetween(Date value1, Date value2) {
            addCriterion("ansDate not between", value1, value2, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAskedContentIsNull() {
            addCriterion("askedContent is null");
            return (Criteria) this;
        }

        public Criteria andAskedContentIsNotNull() {
            addCriterion("askedContent is not null");
            return (Criteria) this;
        }

        public Criteria andAskedContentEqualTo(String value) {
            addCriterion("askedContent =", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentNotEqualTo(String value) {
            addCriterion("askedContent <>", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentGreaterThan(String value) {
            addCriterion("askedContent >", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentGreaterThanOrEqualTo(String value) {
            addCriterion("askedContent >=", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentLessThan(String value) {
            addCriterion("askedContent <", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentLessThanOrEqualTo(String value) {
            addCriterion("askedContent <=", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentLike(String value) {
            addCriterion("askedContent like", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentNotLike(String value) {
            addCriterion("askedContent not like", value, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentIn(List<String> values) {
            addCriterion("askedContent in", values, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentNotIn(List<String> values) {
            addCriterion("askedContent not in", values, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentBetween(String value1, String value2) {
            addCriterion("askedContent between", value1, value2, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedContentNotBetween(String value1, String value2) {
            addCriterion("askedContent not between", value1, value2, "askedContent");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerIsNull() {
            addCriterion("askedAnswer is null");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerIsNotNull() {
            addCriterion("askedAnswer is not null");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerEqualTo(String value) {
            addCriterion("askedAnswer =", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerNotEqualTo(String value) {
            addCriterion("askedAnswer <>", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerGreaterThan(String value) {
            addCriterion("askedAnswer >", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerGreaterThanOrEqualTo(String value) {
            addCriterion("askedAnswer >=", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerLessThan(String value) {
            addCriterion("askedAnswer <", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerLessThanOrEqualTo(String value) {
            addCriterion("askedAnswer <=", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerLike(String value) {
            addCriterion("askedAnswer like", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerNotLike(String value) {
            addCriterion("askedAnswer not like", value, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerIn(List<String> values) {
            addCriterion("askedAnswer in", values, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerNotIn(List<String> values) {
            addCriterion("askedAnswer not in", values, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerBetween(String value1, String value2) {
            addCriterion("askedAnswer between", value1, value2, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andAskedAnswerNotBetween(String value1, String value2) {
            addCriterion("askedAnswer not between", value1, value2, "askedAnswer");
            return (Criteria) this;
        }

        public Criteria andStageIsNull() {
            addCriterion("stage is null");
            return (Criteria) this;
        }

        public Criteria andStageIsNotNull() {
            addCriterion("stage is not null");
            return (Criteria) this;
        }

        public Criteria andStageEqualTo(String value) {
            addCriterion("stage =", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageNotEqualTo(String value) {
            addCriterion("stage <>", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageGreaterThan(String value) {
            addCriterion("stage >", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageGreaterThanOrEqualTo(String value) {
            addCriterion("stage >=", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageLessThan(String value) {
            addCriterion("stage <", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageLessThanOrEqualTo(String value) {
            addCriterion("stage <=", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageLike(String value) {
            addCriterion("stage like", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageNotLike(String value) {
            addCriterion("stage not like", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageIn(List<String> values) {
            addCriterion("stage in", values, "stage");
            return (Criteria) this;
        }

        public Criteria andStageNotIn(List<String> values) {
            addCriterion("stage not in", values, "stage");
            return (Criteria) this;
        }

        public Criteria andStageBetween(String value1, String value2) {
            addCriterion("stage between", value1, value2, "stage");
            return (Criteria) this;
        }

        public Criteria andStageNotBetween(String value1, String value2) {
            addCriterion("stage not between", value1, value2, "stage");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("delFlag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("delFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("delFlag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("delFlag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("delFlag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("delFlag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("delFlag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("delFlag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("delFlag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("delFlag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("delFlag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("delFlag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("delFlag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("delFlag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}